import http from '@/utils/axios.js'

// 获取 QQ 用户信息
export const getUserInfoByQQAPI = (qq) => http.post("/comment/qq/userInfo", { qq })

// 发布评论
export const publishCommentAPI = (data) => http.post("/comment/publish", data)

// 获取所有评论
export const getCommentsAPI = (routerUrl) => http.post("/comment/list", { routerUrl })

